This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
It's a simple agent that takes a noteid from a calling agent. I can print the noteID, but the getdocumentbyid always fails with a type mismatch error.
Dim doc As NotesDocument
Dim s As New NotesSession
Dim ag As NotesAgent
Dim noteid As String
Set db = s.CurrentDatabase
Set ag = s.CurrentAgent
noteid = ag.ParameterDocID
Print noteid
Set doc = db.GetDocumentByID(noteid)
I even tried
Set doc = db.GetDocumentByID(CStr(noteid))
Feedback number WEBB8X266D created by ~Holly Asafanazenakoi on 08/10/2012
Status: Open
Comments: